import service from '@/api/http'
export const churn_record = {
    getChurnRecord(p) {
        return service.get('/churn_record', {
            params: {
                churn_id: p.churn_id,
                cust_name: p.cust_name,
                mobile: p.mobile,
            }
        })
    },

    updateChurnRecord(p) {
        return service.post('/churn_record/update', p)
    },

    // 获取跟进人员
    get_followup_staff() {
        return service.get('/churn_record/get_followup_staff')
    },

    // 获取修改的初始化数据
    get_churn_record_info(p) {
        return service.get('/churn_record/get_update_init', {
            params: {
                churn_id: p.churn_id,
            }
        })
    }

}